# 启动Qt界面

import sys

from PyQt4 import QtGui

from py.layout.SettingUi import SettingUi
from py.start_common import common_init
from py.uitls.Logger import myLogger

try:
    common_init()
    app = QtGui.QApplication(sys.argv)
    myLogger.info('QT初始化完成')
    form = SettingUi()
    myLogger.info('设置界面启动成功')
    sys.exit(app.exec_())
except Exception as res:
    myLogger.exception(res)
